class CreateExerciseRatings < ActiveRecord::Migration
  def change
    create_table :exercise_ratings do |t|
      t.integer :id
      t.integer :lecture_id
      t.string :user_id_integer
      t.integer :difficulty
      t.integer :work_load
      t.float :rating
      t.string :comment

      t.timestamps
    end
  end
end
